/**
 *Created by Heqi on 2018/3/31.
 */
import http from '@/utils/http'

const PIE_URL = '/rest/customer/service/daily-feedback/pie'

export default {
  getPieData ({search}, cb) {
    http.get(PIE_URL, {
      params: {
        day: search.day
      }
    }).then(response => cb(response)).catch(trace => cb(trace.response))
  }
}
